package com.hk.order.feign.fall;

import com.hk.order.feign.HKStockClient;
import org.springframework.stereotype.Component;

@Component
public class StockBack implements HKStockClient {
    @Override
    public Boolean updateStock(String productId, Integer count) {
        System.out.println("远程访问失败，使用降级方案处理");
        return false;
    }
}
